CCNA CyberOps Associate Exam Answers


CCNA (Version 7.00) Modules 3 – 4: Operating System Overview Group Exam (Answers)


                                            

              

1. Why would a network administrator choose Linux as an operating system in the Security Operations Center (SOC)?
a) It is easier to use than other operating systems.
b) More network applications are created for this environment.
c) It is more secure than other server operating systems.
d) The administrator has more control over the operating system.

Solution: d) The administrator has more control over the operating system.
Explanation: There are several reasons why Linux is a good choice for the SOC. Linux is open source. The command line interface is a very powerful environment. The user has more control over the operating system. Linux allows for better network communication control.

2. Which two methods can be used to harden a computing device? (Choose two.)
a) Allow default services to remain enabled.
b) Allow USB auto-detection.
c) Enforce the password history mechanism.
d) Update patches on a strict annual basis irrespective of release date.
e) Ensure physical security.

Solution: c) Enforce the password history mechanism. e) Ensure physical security.
Explanation: The basic best practices for device hardening are as follows: Ensure physical security. Minimize installed packages. Disable unused services. Use SSH and disable the root account login over SSH. Keep the system updated. Disable USB auto-detection. Enforce strong passwords. Force periodic password changes. Keep users from reusing old passwords. Review logs regularly.

3. Which Linux command can be used to display the name of the current working directory?
a) sudo
b) ps
c) pwd
d) chmod

Solution: c) pwd
Explanation: One of the most important commands in Linux is the pwd command, which stands for print working directory. It shows users the physical path for the directory they are working in.

4. Consider the result of the ls -l command in the Linux output below. What are the file permissions assigned to the sales user for the analyst.txt file?
AD
ls –l analyst.txt
-rwxrw-r-- sales staff 1028 May 28 15:50 analyst.txt
a) write only
b) read, write
c) read only
d) read, write, execute

Solution: d) read, write, execute
Explanation: The file permissions are always displayed in the User Group and Other order. In the example displayed, the file has the following permissions: The dash ( – ) means that this is a file. For directories, the first dash would replaced with a “d”. The first set of characters is for user permission (rwx). The user, sales, who owns the file can read, write and execute the file. The second set of characters is for group permissions (rw-). The group, staff, who owns the file can read and write to the file. The third set of characters is for any other user or group permissions (r–). Any other user or group on the computer can only read the file.

5. A Linux system boots into the GUI by default, so which application can a network administrator use in order to access the CLI environment?
a) system viewer
b) file viewer
c) package management tool
d) terminal emulator

Solution: d) terminal emulator
Explanation: A terminal emulator is an application program a user of Linux can use in order to access the CLI environment.

6. What is the well-known port address number used by DNS to serve requests?
a) 25
b) 53
c) 110
d) 60

Solution: b) 53
Explanation: Port numbers are used in TCP and UDP communications to differentiate between the various services running on a device. The well-known port number used by DNS is port 53.

7. Which user can override file permissions on a Linux computer?
a) any user that has ‘group’ permission to the file
b) only the creator of the file
c) any user that has ‘other’ permission to the file
d) root user

Solution: d) root user
Explanation: A user has as much rights to a file as the file permissions allow. The only user that can override file permission on a Linux computer is the root user. Because the root user has the power to override file permissions, the root user can write to any file.

8. Match the commonly used ports on a Linux server with the corresponding service.
SMTP: 25
DNS: 53
HTTPS: 443
SSH: 22
TELNET: 23

9. Match typical Linux log files to the function.
used by RedHat and CentOS computers and tracks authentication-related events: /var/log/secure
contains generic computer activity logs, and is used to store informational and noncritical system messages: /var/log/messages
stores information related to hardware devices and their drivers: /var/log/dmesg
used by Debian and Ubuntu computers and stores all authentication-related events: /var/log/auth.log

10. Which type of tool allows administrators to observe and understand every detail of a network transaction?
a) log manager
b) malware analysis tool
c) ticketing system
d) packet capture software

Solution: d) packet capture software
Explanation: Network packet capture software is an important tool because it makes it possible to observe and understand the details of a network transaction.

11. Why is Kali Linux a popular choice in testing the network security of an organization?
a) It is a network scanning tool that prioritizes security risks.
b) It is an open source Linux security distribution containing many penetration tools.
c) It can be used to test weaknesses by using only malicious software.
d) It can be used to intercept and log network traffic.

Solution: b) It is an open source Linux security distribution containing many penetration tools.
Explanation: Kali is an open source Linux security distribution that is commonly used by IT professionals to test the security of networks.

12. Match the octal value to the file permission description in Linux. (Not all options are used.)
write only ~~> 010
read and execute ~~> 101
read and write ~~> 110
execute only ~~> 001
write and execute ~~> NOT SCORED
no access ~~> 000

13. Match the Linux command to the function. (Not all options are used.)
Displays the name of the current working directory: pwd
runs a command as another user: sudo
modifies file permissions: chmod
shuts down the system: Empty
lists the processes that are currently running: ps

14. What are two advantages of the NTFS file system compared with FAT32? (Choose two.)
a) NTFS is easier to configure.
b) NTFS supports larger files.
c) NTFS allows faster formatting of drives.
d) NTFS allows the automatic detection of bad sectors.
e) NTFS allows faster access to external peripherals such as a USB drive.
f) NTFS provides more security features.

Solution: b) NTFS supports larger files. d) NTFS allows the automatic detection of bad sectors. f) NTFS provides more security features.
Explanation: The file system has no control over the speed of access or formatting of drives, and the ease of configuration is not file system-dependent.

15. A PC user issues the netstat command without any options. What is displayed as the result of this command?
a) a historical list of successful pings that have been sent
b) a list of all established active TCP connections
c) a network connection and usage report
d) a local routing table

Solution: b) a list of all established active TCP connections
Explanation: When used by itself (without any options), the netstat command will display all the active TCP connections that are available.

16. Which two commands could be used to check if DNS name resolution is working properly on a Windows PC? (Choose two.)
a) nslookup cisco.com
b) net cisco.com
c) ipconfig /flushdns
d) nbtstat cisco.com
e) ping cisco.com

Solution: a) nslookup cisco.com. e) ping cisco.com.
Explanation: The ping command tests the connection between two hosts. When ping uses a host domain name to test the connection, the resolver on the PC will first perform the name resolution to query the DNS server for the IP address of the host. If the ping command is unable to resolve the domain name to an IP address, an error will result. Nslookup is a tool for testing and troubleshooting DNS servers.

17. What is the purpose of using the net accounts command in Windows?
a) to display information about shared network resources
b) to show a list of computers and network devices on the network
c) to start a network service
d) to review the settings of password and logon requirements for users

Solution: d) to review the settings of password and logon requirements for users
Explanation: These are some common net commands: net accounts – sets password and logon requirements for users net start – starts a network service or lists running network services net use – connects, disconnects, and displays information about shared network resources net view – shows a list of computers and network devices on the network When used without options, the net accounts command displays the current settings for password, logon limitations, and domain information.

18. Match the Windows 10 boot sequence after the boot manager (bootmgr.exe) loads.
Explanation: Boot Sequence for Windows:
– Power on Self Test (POST)
– POST for each adapter card that has a BIOS
– BIOS reads the MBR
– MBR takes over control of the boot process and starts BOOTMGR
– BOOTMGR reads the Boot Configuration Data file to know which OS to load and where to find the OS on the boot partition
– BOOTMGR invokes WINLOAD.EXE in order to load the NTOSKRNL.EXE file and HAL.DLL
– BOOTMGR reads the registry files and loads device drivers
– NTOSKRNL.EXE starts the WINLOGON.EXE program and displays the Windows login screen

19. A technician has installed a third party utility that is used to manage a Windows 7 computer. However, the utility does not automatically start whenever the computer is started. What can the technician do to resolve this problem?
a) Set the application registry key value to one.
b) Use the Add or Remove Programs utility to set program access and defaults.
c) Change the startup type for the utility to Automatic in Services.
d) Uninstall the program and then choose Add New Programs in the Add or Remove Programs utility to install the application.

Solution: c) Change the startup type for the utility to Automatic in Services.
Explanation: The Services console in Windows OS allows for the management of all the services on the local and remote computers. The setting of Automatic in the Services console enables the chosen service to start when the computer is started.

20. Which statement describes the function of the Server Message Block (SMB) protocol?
a) It is used to stream media contents.
b) It is used to manage remote PCs.
c) It is used to compress files stored on a disk.
d) It is used to share network resources.

Solution: d) It is used to share network resources.
Explanation: The Server Message Block (SMB) protocol is primarily used by Microsoft to share network resources.

21. A user creates a file with .ps1 extension in Windows. What type of file is it?
a) PowerShell function
b) PowerShell cmdlet
c) PowerShell documentation
d) PowerShell script

Solution: d) PowerShell script
Explanation: The types of commands that PowerShell can execute include the following: cmdlets – perform an action and return an output or object to the next command that will be executed PowerShell scripts – files with a .ps1 extension that contain PowerShell commands that are executed PowerShell functions – pieces of code that can be referenced in a script

22. Match the Windows command to the description.
renames a file ~~> ren
creates a new directory ~~> mkdir
changes the current directory ~~> cd
lists files in a directory ~~> dir

23. A user logs in to Windows with a regular user account and attempts to use an application that requires administrative privileges. What can the user do to successfully use the application?
a) Right-click the application and choose Run as Priviledge.
b) Right-click the application and choose Run as Superuser.
c) Right-click the application and choose Run as Administrator.
d) Right-click the application and choose Run as root.

Solution: c) Right-click the application and choose Run as Administrator.
Explanation: As a security best practice, it is advisable not to log on to Windows using the Administrator account or an account with administrative privileges. When it is necessary to run or install software that requires the privileges of the Administrator, the user can right-click the software in the Windows File Explorer and choose Run as Administrator.

24. An IT technician wants to create a rule on two Windows 10 computers to prevent an installed application from accessing the public Internet. Which tool would the technician use to accomplish this task?
a) Local Security Policy
b) Computer Management
c) Windows Defender Firewall with Advanced Security
d) DMZ

Solution: c) Windows Defender Firewall with Advanced Security
Explanation: Windows Firewall with Advanced Security or the Windows 10 Windows Defender Firewall with Advanced Security is used to create inbound and outbound rules, connection security rules such as security traffic between two computers, and monitoring any active connection security rules.

25. What technology was created to replace the BIOS program on modern personal computer motherboards?
a) UEFI
b) MBR
c) CMOS
d) RAM

Solution: a) UEFI
Explanation: As of 2015, most personal computer motherboards are shipped with UEFI as the replacement for the BIOS program.

26. Match the Linux system component with the description. (Not all options are used.)
CLI : a text based interface that accepts user commands
shell : a program that interprets and executes user commands
daemon : a background process that runs without the need for user interaction
(Empty) : a program that manages CPU and RAM allocation to processes, system calls, and file systems

27. What is the outcome when a Linux administrator enters the man man command?
AD
The man man command configures the network interface with a manual address
The man man command opens the most recent log file
The man man command provides documentation about the man command
The man man command provides a list of commands available at the current prompt
Explanation: The man command is short for manual and is used to obtain documentation about a Linux command. The command man man would provide documentation about how to use the manual.

28. Match the description to the Linux term. (Not all options are used.)
a type of file that is a reference to another file or directory ~~> symlink
a running background process that does not need user interaction ~~> daemon
protecting remote access ~~> hardening
(Empty) ~~>logging

29. What are two benefits of using an ext4 partition instead of ext3? (Choose two.)
AD
an increase in the number of supported devices
improved performance
compatibility with NTFS
increase in the size of supported files
decreased load time
compatibility with CDFS
Explanation: Based on the ex3 file system, an ext4 partition includes extensions that improve performance and an increase in the of supported files. An ext4 partition also supports journaling, a file system feature that minimizes the risk of file system corruption if power is suddenly lost to the system.

30. Consider the result of the ls -l command in the Linux output below. What are the file permissions assigned to the sales user for the analyst.txt file?
ls -l analyst.txt
-rwxrw-r-- sales staff 1028 May 28 15:50 analyst.txt
read, write, execute
write only
read only
read, write
Explanation: The file permissions are always displayed in the User Group and Other order. In the example displayed, the file has the following permissions: The dash ( – ) means that this is a file. For directories, the first dash would replaced with a “d”. The first set of characters is for user permission (rwx). The user, sales, who owns the file can read, write and execute the file. The second set of characters is for group permissions (rw-). The group, staff, who owns the file can read and write to the file. The third set of characters is for any other user or group permissions (r–). Any other user or group on the computer can only read the file.

31. What is the purpose of entering the netsh command on a Windows PC?
AD
to configure networking parameters for the PC
to change the computer name for the PC
to create user accounts
to test the hardware devices on the PC
Explanation: The netsh.exe tool can be used to configure networking parameters for the PC from a command prompt.

32. Which type of Windows PowerShell command performs an action and returns an output or object to the next command that will be executed?
AD
cmdlets
functions
routines
scripts
Explanation: The types of commands that PowerShell can execute include the following: cmdlets – perform an action and return an output or object to the next command that will be executed PowerShell scripts – files with a .ps1 extension that contain PowerShell commands that are executed PowerShell functions – pieces of code that can be referenced in a script

33. A user creates a file with .ps1 extension in Windows. What type of file is it?
AD
PowerShell documentation
PowerShell cmdlet
PowerShell script
PowerShell function
Explanation: The types of commands that PowerShell can execute include the following: cmdlets – perform an action and return an output or object to the next command that will be executed PowerShell scripts – files with a .ps1 extension that contain PowerShell commands that are executed PowerShell functions – pieces of code that can be referenced in a script

34. Match the Windows system tool with the description. (Not all options are used.)
AD
Registry : a hierarchical database of all system and user information
Windows Firewall : selectively denies traffic on specified interfaces
PowerShell : a CLI environment used to run scripts and automate tasks
Event Viewer : maintains system logs
(Empty) : provides information on system resources and processes
(Empty) : provides virus and spyware protection

35. In the Linux shell, which character is used between two commands to instruct the shell to combine and execute these two commands in sequence?
$
#
%
|
Explanation: In the Linux shell, several commands can be combined to perform a complex task. This technique is known as piping. The piping process is indicated by inserting the character “|” between two consecutive commands.

36. Why is Linux considered to be better protected against malware than other operating systems?
AD
customizable penetration and protection tools
fewer deployments
file system structure, file permissions, and user account restrictions
integrated firewall
Explanation: The Linux operating design including how the file system is structured, standard file permissions, and user account restrictions make Linux a better protected operating system. However, Linux still has vulnerabilities and can have malware installed that affects the operating system.

37. Match the commonly used ports on a Linux server with the corresponding service. (Not all options are used.)
AD

38. Which Windows tool can be used by a cybersecurity administrator to secure stand-alone computers that are not part of an active directory domain?
AD
PowerShell
Windows Defender
Windows Firewall
Local Security Policy
Explanation: Windows systems that are not part of an Active Directory Domain can use the Windows Local Security Policy to enforce security settings on each stand-alone system.